package view;

import controller.GameSetUp;

public class TableDrawer {
	public  static void drawTable(char[][] array){
		for(int row = 0; row<GameSetUp.TABLE_SIZE; row++){
			for(int dash =0;  dash< GameSetUp.TABLE_SIZE*2+1; dash++){
				System.out.print("-");
			}
			System.out.println();
			for(int col = 0; col<GameSetUp.TABLE_SIZE; col++){
				System.out.print("|" + array[row][col]);
			}
			System.out.println("|");
		}
		for(int lastRow = 0 ; lastRow < GameSetUp.TABLE_SIZE*2+1; lastRow++){
			System.out.print("-");
		}
		System.out.println();
	}
}